<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<html xmlns:form="http://www.w3.org/1999/xhtml">
<head><title>OSS Event Manager - Creating Event</title></head>
<body>

<td>"${event.name}"</td>
<form:form modelAttribute="position">
    <table>
        <tr>
            <td>Name:</td>
            <td>
                <form:input path="name"/>
            </td>
        </tr>
        <tr>
            <td>Description:</td>
            <td>
                <form:textarea path="description"/>
            </td>
        </tr>
        <tr>
            <td>Location:</td>
            <td>
                <form:input path="location"/>
            </td>
        </tr>
        <tr>
            <td>No of Required Vacancies:</td>
            <td>
                <form:input path="noOfVolunteerPositionReq"/>
            </td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" value="Save"/></td>
        </tr>
    </table>
</form:form>

</body>
</html>